[Top] [Prev] [Next] [Bottom] [Contents]

SgeSetArgBnd2

Sets an argument binding for an allocated data structure which is used to execute a Stored Procedure or DSQL Object. This function is used in generating Sapphire/Web code and probably will not be used by application programmers. It is documented here so that you can understand Sapphire/Web-generated code.

Synopsis

#include "WorkingDialog.h"
void SgeSetArgBnd2(pSgeWorkCallData p, 
							int type_id, int type_size, 
							char* argname, char* typename, 
							char* argval);

Arguments

p
An allocated pSgeWorkCallData structure.
type_id
Integer specifying the argument type.
type_size
Integer specifying the argument type size, if applicable.
argname
Name of the Stored Procedure or DSQL Object argument.
typename
Name of the Stored Procedure or DSQL Object argument type.
argval
Value of the Stored Procedure or DSQL Object argument.

Return Values

None.

Description

SgeSetArgBnd2 sets an argument binding for an allocated pSgeWorkCallData structure. If p is NULL, no action is taken. This must be called for each argument that takes a Stored Procedure or DSQL Object. The argument value and name are copied internally.

Example

pSgeWorkCallData pSgeWCD;
....
SgeSetArgBnd2(pSgeWCD, 39, 40, "@title", "varchar", "The Gourmet 
Microwave");

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.